package chapter02;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Bank bank = new Bank();
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入out的值：");
        int out  = scanner.nextInt();

        try {
            bank.getMoney(out);
        }
        catch (BankException e){
            e.printStackTrace();
        }
    }
}
